package com.woniuxy.mapper;

import com.woniuxy.entity.NormalOrder;
import com.woniuxy.entity.ReceivableOrder;
import com.woniuxy.entity.ReturnOrder;
import com.woniuxy.entity.Waybill;
import com.woniuxy.entity.dto.ReturnOrderDTO;
import com.woniuxy.entity.dto.SignOrderDTO;

import java.util.List;

public interface ReturnOrderMapper {
    List<ReturnOrderDTO> queryReturnOrder(ReturnOrderDTO returnOrderDTO);
    void updateStatus(String orderId);//修改回单表状态

    NormalOrder queryById(String orderId);// 查询订单信息

    ReturnOrder queryByOrderId(String orderId); //查询回单id

    Waybill queryWayById(String id);//查询运单信息

    void addYingShouDan(ReceivableOrder receivableOrder);

}
